pub fn new_birthday_probability(n: u32) -> f64 {
    // TODO: 这里写逻辑
    // todo!()
    let total_days = 365;
    let mut probability = 1.0;

    for i in 0..n {
        probability *= (total_days - i) as f64 / total_days as f64;
    }

    1.0 - probability
}
